comboboxtext: Use markdown for css tree
authorMatthias Clasen <mclasen@redhat.com>
Sun, 28 Feb 2021 00:45:37 +0000 (19:45 -0500)
committerEmmanuele Bassi <ebassi@gnome.org>
Thu, 11 Mar 2021 16:37:34 +0000 (16:37 +0000)
gtk/gtkcomboboxtext.c

index 694bf3b5b4709188859574a02d17921b000427cc..4d1ba8243b309caa757886c92161bb478fe3deb5 100644 (file)
@@ -64,7 +64,7 @@
  * translation attributes “translatable”, “context” and “comments”.
  *
  * Here is a UI definition fragment specifying `GtkComboBoxText` items:
- * |[
+ * ```xml
  * <object class="GtkComboBoxText">
  *   <items>
  *     <item translatable="yes" id="factory">Factory</item>
  *     <item translatable="yes" id="subway">Subway</item>
  *   </items>
  * </object>
- * ]|
+ * ```
  *
  * # CSS nodes
  *
- * |[<!-- language="plain" -->
+ * ```
  * combobox
  * ╰── box.linked
  *     ├── entry.combo
  *     ├── button.combo
  *     ╰── window.popup
- * ]|
+ * ```
  *
  * `GtkComboBoxText` has a single CSS node with name combobox. It adds
  * the style class .combo to the main CSS nodes of its entry and button